package com.tem.seller.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("seller_comment")
@ApiModel(value="SellerComment对象", description="")
public class SellerComment implements Serializable {
    private static final long serialVersionUID=32331098678671L;
    @ApiModelProperty(value = "店铺评论")
    @TableId(value = "seller_comment_id", type = IdType.AUTO)
    private Long sellerCommentId;

    @ApiModelProperty(value = "店铺id")
    @TableField("seller_id")
    private Long sellerId;

    @ApiModelProperty(value = "评论人id")
    @TableField("customer_id")
    private Long customerId;

    @ApiModelProperty(value = "1好评 2中评 3差评")
    @TableField("rates")
    private Integer rates;

    @ApiModelProperty(value = "是否含多媒体 1有图片0没有")
    @TableField("has_img")
    private Integer hasImg;

    @ApiModelProperty(value = "1激活 0失效 2待审核 3审核不通过")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value = "匿名 0否 1是")
    @TableField("anonymous")
    private Integer anonymous;

    @ApiModelProperty(value = "评论时间")
    @TableField("create_time")
    private LocalDateTime createTime;


}
